
<h3 class="header smaller lighter blue mg-top12 mg-bottom20">banner管理</h3>
{{--<div class="widget-box">--}}
<div class="">
    <div>
        <table id="sample-table-1" class="table table-striped table-bordered table-hover">

            <tr>
                <th>分类名称</th>
                <th>排序</th>
                <th>是否可用</th>
                <th>创建时间</th>
                <th>更新时间</th>
                <th>操作</th>
            </tr>
            <tbody>
            @foreach($lists as $v)
                <tr>
                    <td>{{$v->title}} </td>
                    <td>{{$v->sort}} </td>
                    <td>
                        @if($v->is_show) 显示
                        @else 不显示
                        @endif
                    </td>
                    <td>{{$v->create_time}} </td>
                    <td>{{$v->update_time}}</td>
                    <td>
                        <div class="hidden-sm hidden-xs btn-group">
                            <a class="btn btn-xs btn-info" href="{{url('manage/cateUpdate',['id'=>$v->id])}}">
                                <i class="fa fa-edit bigger-120"></i>编辑
                            </a>
                        </div>
                    </td>
                </tr>
                @endforeach
            </tbody>
        </table>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <div class="dataTables_info row" id="sample-table-2_info" role="status" aria-live="polite">
                <a href="{{url('manage/pigProductInsert')}}"><button class="btn btn-sm btn-primary">添加产品</button></a>
            </div>
        </div>
        <div class="space-10 col-xs-12"></div>
        <div class="col-xs-12">
            <div class="dataTables_paginate paging_bootstrap text-right row">
                {!! $lists->render() !!}
            </div>
        </div>
    </div>

</div>
</div>

